 
 <script type="text/javascript">
		<!-- 
		 var focus_width=405
		 var focus_height=205
		 var text_height=0
		 var swf_height = focus_height+text_height
<?php
$selsql="select * from qh_indexad  where yz='1' and logo<>'' order by list,posttime desc,id desc LIMIT 0 , 8";
$rs=$db->excu($selsql);
if (mysql_num_rows($rs)>0){
    while ($rsdb=mysql_fetch_array($rs)){
	if ($imgpic=="" and $imglink=="" and $imgtext==""){
      $imgpic=$imgpic."\"".get_photourl($rsdb["logo"])."\"";
      $imglink=$imglink."encodeURIComponent("."\"".$rsdb["url"]."\"".")";
      $imgtext=$imgtext."\"".wordscut($rsdb["name"],20)."\"";
	}
	else{
      $imgpic.="+\"|\"+\"".get_photourl($rsdb["logo"])."\"";
      $imglink.="+\"|\"+"."encodeURIComponent("."\"".$rsdb["url"]."\"".")";
      $imgtext.="+\"|\"+\"".wordscut($rsdb["name"],20)."\"";
	}
    }
}
?>
 var pics=<?php echo $imgpic?>;
 var links=<?php echo $imglink?>;
 var texts=<?php echo $imgtext?>;

		
		
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
		document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
		document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
		document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
		document.write('<embed src="images/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" ?bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>');
		//-->
		</script>
